<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

    <style>
        /*body{*/
        /*    margin: 0;*/
        /*}*/
        .c1{
            background-color: red;
            height: 100px;
            width: 100px;
            display: inline-block;

        }
        .c2{
            background-color: green;
            height: 100px;
            width: 100px;
            /*display: inline-block;*/
            position: absolute;
            top:100px;
            left: 200px;

        }
        .cc{
            position: relative;
        }
        .cc2{
            background-color: blue;
            height: 100px;
            width: 100px;

        }
        .cc3{
            background-color: yellow;
            height: 2000px;
            width: 100px;

        }
    </style>
</head>
<body>
<div class="cc2"></div>

<div class="cc">
    <div class="c1"></div><div class="c2"></div>

</div>

<div class="cc3"></div>

<script src="jquery.js"></script>

</body>
</html>